package com.demo.expression;

/**
 * @Author WaveHi
 * @Date 23/7/2021 下午 5:08
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public class OperatorDemo {

    public static void main(String[] args) {

        int days = 47;

        //定义变量接收
        int month = days / 30;
        int day = days % 30;

        System.out.println(month + "月" + day + "天");


    }

}
